/**
 * flightReservation package contains classes that enable
 * users to make reservations with a particular airline
 */
package flightReservation;

import java.io.Serializable;

/**
 *
 *
 */
public class Seat implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String seatNumber;
	private boolean seatAvailable;

	/**
	 * 
	 */
	public Seat() {
		this.seatNumber = "";
		this.seatAvailable = true;
	}

	public Seat(String seatNumber, boolean seatAvailable) {
		this.seatNumber = seatNumber;
		this.seatAvailable = seatAvailable;
	}

	public String getNumber() {
		return this.seatNumber;
	}

	public boolean getStatus() {
		return this.seatAvailable;
	}

	public void setReserved() {
		this.seatAvailable = false;
	}

	public void setAvailable() {
		this.seatAvailable = true;
	}

	/**
	 * 
	 */
	public static void tester(String[] args) {

	}

}
